package com.ymatou.iapi.trading.operate.parameter.po;

public class TradingReqPo {

	/**
	 * ReqId VARCHAR(36) 必填<br>
	 * 
	 */
	private String reqId;

	/**
	 * TradingId BIGINT(19) 必填<br>
	 * 
	 */
	private Long tradingId;

	/**
	 * AddTime TIMESTAMP(23,3) 必填<br>
	 * 
	 */
	private String addTime;

	/**
	 * YmtCoupon VARCHAR(512)<br>
	 * 
	 */
	private String ymtCoupon;

	/**
	 * SellerCoupons VARCHAR(1024)<br>
	 * 
	 */
	private String sellerCoupons;

	/**
	 * StockStatus INTEGER(10)<br>
	 * 
	 */
	private Integer stockStatus;

	/**
	 * StockInfo CLOB(2147483647)<br>
	 * 
	 */
	private String stockInfo;

	/**
	 * StockInfoFile VARBINARY(1000)<br>
	 * 
	 */
	private byte[] stockInfoFile;

	/**
	 * ReqId VARCHAR(36) 必填<br>
	 */
	public String getReqId() {
		return reqId;
	}

	/**
	 * ReqId VARCHAR(36) 必填<br>
	 */
	public void setReqId(String reqId) {
		this.reqId = reqId == null ? null : reqId.trim();
	}

	/**
	 * TradingId BIGINT(19) 必填<br>
	 */
	public Long getTradingId() {
		return tradingId;
	}

	/**
	 * TradingId BIGINT(19) 必填<br>
	 */
	public void setTradingId(Long tradingId) {
		this.tradingId = tradingId;
	}

	/**
	 * AddTime TIMESTAMP(23,3) 必填<br>
	 */
	public String getAddTime() {
		return addTime;
	}

	/**
	 * AddTime TIMESTAMP(23,3) 必填<br>
	 */
	public void setAddTime(String addTime) {
		this.addTime = addTime;
	}

	/**
	 * YmtCoupon VARCHAR(512)<br>
	 */
	public String getYmtCoupon() {
		return ymtCoupon;
	}

	/**
	 * YmtCoupon VARCHAR(512)<br>
	 */
	public void setYmtCoupon(String ymtCoupon) {
		this.ymtCoupon = ymtCoupon == null ? null : ymtCoupon.trim();
	}

	/**
	 * SellerCoupons VARCHAR(1024)<br>
	 */
	public String getSellerCoupons() {
		return sellerCoupons;
	}

	/**
	 * SellerCoupons VARCHAR(1024)<br>
	 */
	public void setSellerCoupons(String sellerCoupons) {
		this.sellerCoupons = sellerCoupons == null ? null : sellerCoupons
				.trim();
	}

	/**
	 * StockStatus INTEGER(10)<br>
	 */
	public Integer getStockStatus() {
		return stockStatus;
	}

	/**
	 * StockStatus INTEGER(10)<br>
	 */
	public void setStockStatus(Integer stockStatus) {
		this.stockStatus = stockStatus;
	}

	/**
	 * StockInfo CLOB(2147483647)<br>
	 */
	public String getStockInfo() {
		return stockInfo;
	}

	/**
	 * StockInfo CLOB(2147483647)<br>
	 */
	public void setStockInfo(String stockInfo) {
		this.stockInfo = stockInfo == null ? null : stockInfo.trim();
	}

	/**
	* StockInfoFile VARBINARY(1000)<br>
	*/
	public byte[] getStockInfoFile() {
		return stockInfoFile;
	}

	/**
	 * StockInfoFile VARBINARY(1000)<br>
	 */
	public void setStockInfoFile(byte[] stockInfoFile) {
		this.stockInfoFile = stockInfoFile;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", reqId=").append(reqId);
		sb.append(", tradingId=").append(tradingId);
		sb.append(", addTime=").append(addTime);
		sb.append(", ymtCoupon=").append(ymtCoupon);
		sb.append(", sellerCoupons=").append(sellerCoupons);
		sb.append(", stockStatus=").append(stockStatus);
		sb.append(", stockInfoFile=").append(stockInfoFile);
		sb.append("]");
		return sb.toString();
	}
}
